from ronglian_sms_sdk import SmsSDK

from Qshop.settings import accId,accToken,appId,tid

def send_message(code,mobile = '13331153360',timer="5"):
    sdk = SmsSDK(accId, accToken, appId)
    datas = (code, timer)
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)

if __name__ == '__main__':
    send_message("9527")
